asp net identity add a unique fields to user

61

asp net identity add a unique fields to user -

modelBuilder.Entity<ApplicationUser>()
        .HasIndex(b => b.CustomProperty)
        .IsUnique();

Comments

Submit
0 Comments